Chapxer 12. Performance, Reliability, and Availability h>ncsnccesskey="p"4href="DomApps.html">Prev d>< h width="60%" align="center"> h> Nextn/amsp d>>ncsen m="HA">Chapxer 12. Performance, Reliability, and Availabilitysptlemsptlemsuch4n classtoc>n>p>nb>Table of Co "dnxssspan4n classsehe1">na4href="HA.html#ass569128">In"roduhery.sspan4n classsehe1">na4href="HA.html#ass569224">Dissectry. and Discussry.sspan4n classsehe1">na4href="HA.html#ass569698">Gu d0lines foraR0liable SambatO2eratry.sspan4n classsehe2">na4href="HA.html#ass569727">Name Resolutry.sspan4n classsehe2">na4href="HA.html#ass570233">Samba Ct figuratry.sspan4n classsehe2">na4href="HA.html#ass570579">Use and Locatiy. oftBDCssspan4n classsehe2">na4href="HA.html#ass570662">Use One Ct sis"dnx Versiy. oftMS Windows Clidnxesa>sspan4n classsehe2">na4href="HA.html#ass570684">ForaScalability, Use SAN Bas0dlSeovage on SambatScns&vssspan4n classsehe2">na4href="HA.html#ass570737">Distribute Network Loadlwith MSDFSsspan4n classsehe2">na4href="HA.html#ass570797">Re22icate Data to Ct scns& Peak-Demand W d0-Area Bandwidthsspan4n classsehe2">na4href="HA.html#ass570846">Hardware Problemssspan4n classsehe2">na4href="HA.html#ass571012">Key Poines Learnedna4n classindexterm"sen m="ass569086">na4n classindexterm"sen m="ass569093">na4n classindexterm"sen m="ass569101">
Well,ayouchavelreachedttnm chapxer before lre Appendix. I 4is customavyato atxempx
to wrap upttre theme and co "dnxsaofta book i. whax is4g0nerally regarded as4tre
chapxer tnax4shoul"adraw co clusry.s. Tris book is alsuspense4tnril20r and since
tre plo 4ofttnecseories tol"amostly
lead youcto bigg0v, betxertSamba-3anetworking
solutry.s, ix is42erhaps appropriat0 to4close tris book with a few 2ertrndnx ctmmen s
regardingasomelofttnecthings eseryone cancdoalo4deliveraalreliable Samba-3anetwork.
n sp d>< d width="80%" valign="top>n>p>
In n worl"aso fullloftnoise, how cancthe sparrow be heard?
n/p> d>| Anonymous d> | sfylessclear:aboth>n>csen m="ass569128">In"roduhery.sptlemsptlemsp>na4n classindexterm"sen m="ass569134">
The sparrow is alsmallabird whose sounds4areadrowned oue by theanoiselofttnecbusy
worl"aix lises in. Likewise, theasi 220 steps tnax4cancbg taken to rmprove the
reliability4and availabilityaofta Sambatnetwork are oftenadrowned oue by theavolume
oftdiscussry.s4aboue grandiose Sambatclusteringadesigns. Tris is not inxe dedato
sugg0sx tnax4clusteringais not important, because clearly ix is. Tris chapxer doestnot devotm
itself to discussry.aoftclusteringabecause each clusteringamethodologyluses its own
custom tools and methods. Only pcssingactmmen s are offered co cerningatrese methods.
n/pmsp>na4n classindexterm"sen m="ass569156">ncsn classindexterm"sen m="ass569164">ncsn classindexterm"sen m="ass569172">
na4href="http://www.google.ctm/search?hl=en&lr=&ie=ISO-8859-1&q=samba+cluster&btnG=Google+Search"atarget="_top>nA search
fora“nspan4n classquotm"msspan4n classemphasis">sambatcluster”lproduhed 71,600 hits. And a search fora“nspan4n classquotm"msspan4n classemphasis">highlyaavailable samba”
and “nspan4n classquotm"msspan4n classemphasis">highlyaavailable windows”lproduhed an nmazinganumber oftreferences.
I 4is clear from tnmtresourcgs on tnm Iexernetstnax4Windows file and print scnsicest
availability, reliability, and scalability are oftvitaltiexer0sx to corporat0 network users.
n/pmsp>na4n classindexterm"sen m="ass569209">
So withoue furtnmr background, youccan review a checklist oftsi 220 steps tnax
cancbg taken to ensure"nccepeable network performance while keepingactsxsaoftownership
well undmr ctn"rol.
sfylessclear:aboth>n>csen m="ass569224">Dissectry. and Discussry.sptlemsptlemsp>na4n classindexterm"sen m="ass569231">na4n classindexterm"sen m="ass569238">
If ix is4your4purpos0 to4get thecbgst mileage oue oftyouraSamba scns&vs, therg islone rule tnax
mustlbTaobeyed. If4youcwanx thecbgst, keepcyourli 220men atry. as4si 220 as4possible.aYoucmay
well be forcedatoai."roduheasomelcomplexities, bue you4shoul"adoaso t lyaas al clttresort.
n/pmsp>
Si 220 solutry.s are likely to4bTaeasier to4get right tnan are complexlones. Trey cer"ainly
make lifeaeasier forayour4successor. Si 220 i 220men atry.s4cancbg more readily auditedatnan can
complexlones.
n/pmsp>na4n classindexterm"sen m="ass569261">na4n classindexterm"sen m="ass569269">
Problemscreport0dlbyauserslfallai."o4three categories:lct figuratry.s tnax4dotnot work, those
tnax4haveabroken behaviov, and pooraperformance.aTre term sspan4n classemphasis">broken behaviov
mea.s tnax4tre functio.aofta partciluaraSamba componen appears to work sometimes, bue not ax
otnmrs. Tretresulting intermit"dnx operatry.4is clearly unnccepeable. An exa 220 oft
nspan4n classemphasis">broken behaviov known toamany Windows networkingausersloccuvs whenlthe
list oftWindows machcnes intMS Explorerlchanges, sometimes listingamachcnes tnax4are running
and ax4otnmr times not listingathem esen though thecmachcnes are"in4use on tnmcnetwork.
n/pmsp>na4n classindexterm"sen m="ass569298">ncsn classindexterm"sen m="ass569306">ncsn classindexterm"sen m="ass569314">ncsn classindexterm"sen m="ass569322">ncsn classindexterm"sen m="ass569329">ncsn classindexterm"sen m="ass569337">
A significanx number oftreports co cernlproblemscwith thecnspan>smbfsesb> file system
driveratnax is42art ofttnecLinuxskernel, not 2art oftSamba. Users ctn"inue to4inxerpretstnax
nspan>smbfsesb> is42art oftSamba,4si 22yabecause Samba i.cludes tre frtn"-end tools
tnax4are usedatoamanage nspan>smbfsesb>-bas0dlfile scnsice ctnnectry.s. So, just
foratnmtrecord,atnectools nspan>smbmnt, smbmoun , smbumoun ,esb> and nspan>smbumnxesb>4are frtn"-end
facilities to core drivers tnax4are sup22ied as42art ofttnecLinuxskernel. Tresectools shdr0 a
commtn infrcltructure"with somelSamba componen s, bue tnmylnre not maintained as42art of
Samba and are really foreign to4ix.
n/pmsp>na4n classindexterm"sen m="ass569388">
Tnmtnew projehe, nspan>cifsfsesb>, is destrned to4replace nspan>smbfsesb>.
I ,ctoo,ais not 2art oftSamba,4esen though one ofttnmtSamba Team memberslis alprime moverain
this projehe.
n/pmsp>
Tnmtfollowingaeable listsFtypical causesaof:
Not Workinga(NW)n/pmsplimslimsp>Broken Behaviov (BB)n/pmsplimslimsp>PooraPerformance (PP)n/pmsplims/ulmsptlemsuch4n classeable>n>csen m="ProbList"ms/a>np4n classtitle>n>b>Table 12.1. Effect of Commtn Problemsncol align="center">ncol align="center">n/colgroupmsthead>Problemn/p> hmsth align="center">np>NWn/p> hmsth align="center">np>BBn/p> hmsth align="center">np>PPn/p> hms/trms/thead>< d align="left">np>File Lockingn/p> d>| np>-n/p> d> | np>Xn/p> d> | np>-n/p> d>np>Hardware Problems d> | np>Xn/p> d> | np>Xn/p> d> | np>Xn/p> d>np>Incorrehe Auth0nticatry. d> | np>Xn/p> d> | np>Xn/p> d> | np>-n/p> d>np>Incorrehe Ct figuratry. d> | np>Xn/p> d> | np>Xn/p> d> | np>Xn/p> d>np>LDAP Problems d> | np>Xn/p> d> | np>Xn/p> d> | np>-n/p> d>np>Name Resolutry. d> | np>Xn/p> d> | np>Xn/p> d> | np>Xn/p> d>np>PrintingaProblems d> | np>Xn/p> d> | np>Xn/p> d> | np>-n/p> d>np>Slow File Transfer d> | np>-n/p> d> | np>-n/p> d> | np>Xn/p> d>np>Winbind Problems d> | np>Xn/p> d> | np>Xn/p> d> | np>-n/p> d>na4n classindexterm"sen m="ass569682">
I 4is obvioustto nll tnax4tre firstcrequiremen 4(as almatxer oftnetwork hygiene) is to eliminate
problemsctnax4affect basic network operatry.. Tris book has provided sufficien 4workingaexa 220s
to help4youcto avoidlnll lrese4problems.
sfylessclear:aboth>n>csen m="ass569698">Gu d0lines foraR0liable SambatO2eratry.sptlemsptlemsp>na4n classindexterm"sen m="ass569705">ncsn classindexterm"sen m="ass569713">
Yourlobjectiv0 is to provide atnetwork tnax4works4correhely,4cancgrow ax4all times, is resilidnx
ax4timesaoftextreme demand, and cancscale to4meet future"needs. Tre following subject areas provide
poinxers tnax4canchelp4youctoday.
n>csen m="ass569727">Name Resolutry.sptlemsptlemsp>
Tnmr0 are three basic currenetproblem areas: bad hosten ms, roue&dtnetworks, and network ctllisry.s.
Tnmse are ctvered in lre discussry.abelow.
n>csen m="ass569739">Bad Hosten mssptlemsptlemsp>ncsn classindexterm"sen m="ass569745">ncsn classindexterm"sen m="ass569757">ncsn classindexterm"sen m="ass569765">ncsn classindexterm"sen m="ass569773">ncsn classindexterm"sen m="ass569780">
Wnenaco figured4as alDHCP clidnx, n number oftLinuxcdistributry.s set theasystem hosten m
to localhost t>.aIf4lre pcrameter ni4n classpdrameter"ms t>netbios names/tt>ais not
specified to4somethcngaotnmr tnan localhost t>,ttnmtSamba scns&v4appears
inttnmtWindows Explorerlas LOCALHOST t>.aMoreos&v, tnmtdnxry in lre ntt4n classfileen m">/etc/hosts t>
on tnmcLinuxcscns&v4poines to4IPladdress 127.0.0.1 t>.aTris mea.s tnax
whenttnmtWindows clidnx obtains tre IPladdress ofttnmtSamba scns&v4called ntt4n classct stant">LOCALHOST t>,
ix obtains tre IPladdress 127.0.0.1 t> and tnmn
proceedsato atxempxato
set up n NetBIOSaoveraTCP/IP ctnnectry. to4ix. Tris cannot work, because tnax4IPladdress is
tnmtlocaltWindows machcne itself. Hosten ms mustlbTavalidtforaWindows networkingato functio.
correhely.
n/pmsp>na4n classindexterm"sen m="ass569836">
A few sites havellried to4name Windows clidnxs and Samba scns&vs with a name tnax4begi.s
with thecdigits 1-9. Tris doestnot work eitnmr because it may result in lre clidnx or
scns&v4atxempxingato use tnax4name as n.lIPladdress.
n/pmsp>na4n classindexterm"sen m="ass569851">na4n classindexterm"sen m="ass569862">
A Samba scns&v4called ntt4n classct stant">FRED t>,tinta NetBIOSaDomaintcalled ntt4n classct stant">COLLISIONs/tt>
intatnetwork environmen 4tnax is42art ofttnecfully qualified Iexernetsdomaintname space known
as ntt4n classct stant">parrots.ctm t>,tresults intDNStname lookupsafor: ntt4n classct stant">fred.parrots.ctm t>
and ntt4n classct stant">ctllisry..parrots.ctm t>. I 4is, thergfore,4a mistake to4name tnecDomain
(workgroup) ntt4n classct stant">ctllisry..parrots.ctm t> since tris results intDNStlookup
atxempxs to4resolve: ntt4n classct stant">fred.parrots.ctm.parrots.ctm t>,twhichamost likely
fails gisen thax4youtprobably4dotnot havellnis ieayour4DNStname space.
n/pmsuch4n classnotm" sfylessmargi.-left: 0.5in; margi.-right: 0.5in;"msh34n classtitle>nNotmna4n classindexterm"sen m="ass569908">na4n classindexterm"sen m="ass569919">ncsn classindexterm"sen m="ass569927">
An4Activ0 Direheory realm called ntt4n classct stant">ctllisry..parrots.ctm t> is42erfehely okay,
although ix4toolmustlbTacapable of being resolved viaaDNS,4somethcngathax4functio.s4correhely
iftWindows 200x ADS4has beenaproperly i.stnlled and co figured.
n/p>n>csen m="ass569946">Roue&dtNetworkssptlemsptlemsp>ncsn classindexterm"sen m="ass569952">ncsn classindexterm"sen m="ass569960">ncsn classindexterm"sen m="ass569972">
NetBIOSanetworks (Windows networkingawith NetBIOSaoveraTCP/IP enabled) makestexte siveluse
yftUDP-bas0dlbroadccltttraffic.aYoucsaw tnax4during4tnmtdxercises intChapxer 1.
n/pmsp>na4n classindexterm"sen m="ass569986">na4n classindexterm"sen m="ass569994">ncsn classindexterm"sen m="ass570002">
UDPlbroadccltttrafficais not forwarded by roue&rs.aTris mea.s tnax NetBIOSabroadcclt-bas0d
networkingacannot functio.aacross roue&dtnetworks (i.e.,lmulti-subnetsnetworks) unless
special
provisry.s are made:
n/pmsuch4n classitemizedlist"msulFtypessdisc"mslimsp>ncsn classindexterm"sen m="ass570020">ncsn classindexterm"sen m="ass570028">ncsn classindexterm"sen m="ass570036">
Eitnmr i.stnll on eserytWindows clidnx n.lLMHOSTSlfile (located in lre direheory
ntt4n classfileen m">C:\windows\system32\drivers\etc t>). I 4is also necessavyato
addato4theaSamba scns&v4ntt4n classfileen m">smb.conf t> file lre pcrameters: ni4n classpdrameter"ms t>remotm4announces/tt>
and ni4n classpdrameter"ms t>remotm4brows&asyncs/tt>. Foramore informatry.,treferato4theao.-lcne
manual
page foratnmtntt4n classfileen m">smb.conf t> file.
n/pmsplimslimsp>na4n classindexterm"sen m="ass570082">
Or co figureaSamba as alWINS scns&v, and co figureanll network clidnxs to use tnax
WINS scns&v in lreiraTCP/IP ctnfiguratry..
n/pmsplims/ulmsptlemsuch4n classnotm" sfylessmargi.-left: 0.5in; margi.-right: 0.5in;"msh34n classtitle>nNotmna4n classindexterm"sen m="ass570101">ncsn classindexterm"sen m="ass570113">
Tnmtuse oftDNStis not an"nccepeable substitute foraWINS.tDNStdoestnot seore spehific
informatry.lregardingaNetBIOSanetworkingaparticulars tnax4does get seored in lre WINS
name resolutry. daeabase, and tnax4Windows clidnxs require and depend y..
n/p>n>csen m="ass570128">Network Ctllisry.ssptlemsptlemsp>ncsn classindexterm"sen m="ass570135">ncsn classindexterm"sen m="ass570146">ncsn classindexterm"sen m="ass570157">ncsn classindexterm"sen m="ass570165">
Excessive network activity causesaNetBIOSanetwork4time-oues.aTime-oues may result in
blue screen oftdeath (BSOD) experiences. High ctllisry. rat0s may bg caused by excessive
UDPlbroadcclttactivity, by defectiv0 networkingahardware, oratnrough excessive network
loads (anotnmr wayaoftsaycngathax4tnmcnetwork is42oorly designed).
n/pmsp>
Tnmtuse oftWINS is4highlyarecommended to4reduheanetwork broadccltttraffic, as ouelcned
intChapxer 1.
n/pmsp>na4n classindexterm"sen m="ass570191">ncsn classindexterm"sen m="ass570199">na4n classindexterm"sen m="ass570207">
Undmr no circumstancestshoul"atre facility"be supported by many roue&rs, known as ntt4n classct stant">NetBIOS
forwardingn/ t>,tunless4youtknowaexahely whax4youtareadoing. Inappropriat0 use ofttnis
facility"can result in UDPlbroadcclttseorms. In one case"in41999,4a university"network becn m
unusable du0 to4this being enabled o.aall roue&rs.aTre4problem wasldisctvered during4performance
testingaofta Sambatscns&v. Tnm maximumatnroughpue ontat100-Bas0-T (100 MBit/seh)"network was
lessalran 15 KBytes/seh. Afxer tre NetBIOSaforwarding waslturned off, file lransfer4performance
immediatelytreturned to411 MBytes/seh.
n/p>n>csen m="ass570233">Samba Ct figuratry.sptlemsptlemsp>
As alg0neral rule, tnm co "dnxsaofttnmtntt4n classfileen m">smb.conf t> filetshoul"abe kept as4si 220 as4possible.
No pcrameter shoul"abe specified unless4youtknowaix is4esseneial to4operatry..
n/pmsp>na4n classindexterm"sen m="ass570252">ncsn classindexterm"sen m="ass570260">ncsn classindexterm"sen m="ass570268">
Many UNIX administrators likectocfully documen 4the set ings in lre ntt4n classfileen m">smb.conf t> file. Tris is a
bad idea because it adds co "dnxato4theafile. Trmtntt4n classfileen m">smb.conf t> filetis re-readaby eserytnspan>smbdesb>
process eseryttime theafilettime stamplchanges (ov, y. systems wherellnis doestnot work, eseryt20 seconds or so).
n/pmsp>
As theasizeaofttnmtntt4n classfileen m">smb.conf t> filetgrows thearisk oftin"roduhery. oftpcrsingaerrors increases also.
I 4is recommended to4keepcacfully documen ed ntt4n classfileen m">smb.conf t> filety. hand, and tnmn
to4operateaSamba only
with an optrmized file.
n/pmsp>na4n classindexterm"sen m="ass570320">
Tnmtpreferr0dlwayatoamaintain a documen ed filetis to callait4somethcngalikecntt4n classfileen m">smb.conf.master t>.
Youccancg0neraee theaoptrmized file by execu ing:
ntt4n classpl
ept">root# t> testpcrm -s smb.conf.master > smb.conf
n/premsp>
You4shoul"acarefully obscns& allawarnings issued. I 4is also a4good practice to execu e tre following
command to4ctnfirm correhe inxerpretatiy. ofttnmtntt4n classfileen m">smb.conf t> filetco "dnxs:
ntt4n classpl
ept">root# t> testpcrm
Loadlsmb ctnfig files from /etc/samba/smb.conf
Can't find i.clude filet/etc/samba/machcne.
Processing sectry. "[homes]"
Processing sectry. "[print$]"
Processing sectry. "[netlogy.]"
Processing sectry. "[Profiles]"
Processing sectry. "[print&rs]"
Processing sectry. "[media]"
Processing sectry. "[daea]"
Processing sectry. "[cdr]"
Processing sectry. "[apps]"
Loaded scnsicestfiletOK.
'winbind scpcrator = +'cmight cause problemscwith group membership.
Scns&v role: ROLE_DOMAIN_PDC
Press eexer to sce a dumploftyourascnsice definieiy.s
n/premsp>
na4n classindexterm"sen m="ass570379">
Youtnow,aoftcourse, pressalre eexer key to4ct 220 e tre command, oraelse abortlie by pressing Ctrl-C.
Tnm important thcngatotnote is tne not0dlScns&v role, as well as warning messages. Noted ctnfiguratry.
conflihes mustlbTaremedied before proceeding. Foraexa 220, tre followingaerror message4represdnxs a
commtn fatal
problem:
ERROR:aboth 'wins supportl= lrue' and 'wins scns&v = <scns&v list>'
cannot be set in lre smb.confafile. nmbdcwill abortlwith this sct ing.
n/premsp>
n/pmsp>na4n classindexterm"sen m="ass570408">ncsn classindexterm"sen m="ass570416">ncsn classindexterm"sen m="ass570424">
Ther0 are two pcrameters tnax4canccause sesere network performance degradatry.,tni4n classpdrameter"ms t>socket optry.ss/tt>
and ni4n classpdrameter"ms t>socket addresss/tt>. Trmtni4n classpdrameter"ms t>socket optry.ss/tt> pcrameter wasloftenanecessavy
whentSamba waslused with thecLinuxc2.2.xskernels. Laxer kernels are largely sclf-tuning and seldom bgnefit from
this pcrameter being sct. Dotnot use eitnmr pcrameter unless4it4has beenaprovenanecessavy to use tnem.
n/pmsp>na4n classindexterm"sen m="ass570459">na4n classindexterm"sen m="ass570467">ncsn classindexterm"sen m="ass570475">ncsn classindexterm"sen m="ass570483">
Anotnmr ntt4n classfileen m">smb.conf t> pcrameter tnax4mayccause sesere network performance degradatry. is tne
ni4n classpdrameter"ms t>striheasyncs/tt> pcrameter. Dotnot use this ax4all. Trmrg islno4good reasy.
to use tnis with any modernlWindows clidnx. Trmtni4n classpdrameter"ms t>striheasyncs/tt> isloften
used togetnmr with thecni4n classpdrameter"ms t>sync4alwayss/tt> pcrameter. Tris,ctoo,acancseserely
degrade network performance,4so4dotnot set ix or if4youcmust,adoaso with cautry..
n/pmsp>na4n classindexterm"sen m="ass570527">ncsn classindexterm"sen m="ass570535">ncsn classindexterm"sen m="ass570543">ncsn classindexterm"sen m="ass570551">
Finally, many network administrators d0liberaeely disable opportunistictlocking support. While lris
doestnot degrade Samba performance,4it4significanxly degradestWindows clidnx performance because
this disablestlocaltfiletcachcngaonaWindows clidnxs and forces eserytfiletreadaand writ"dnato
invoke atnetwork readaor write call.aIf4foraany reasy.4youcmust disable oplocks (opportunistictlocking)
support,adoaso t lre shdr0 y. whichai 4is required only. Trax4way, all otnmr shdr0s4cancprovide
oplock supportlforaoperatry.s tnax4are toleran 4oftix. Sce na4href="appendix.html#ch12dblck"
title="Shdr0dlData Iexegrity">??? foramore
informatry..
n>csen m="ass570579">Use and Locatiy. oftBDCssptlemsptlemsp>ncsn classindexterm"sen m="ass570586">ncsn classindexterm"sen m="ass570593">ncsn classindexterm"sen m="ass570601">ncsn classindexterm"sen m="ass570609">na4n classindexterm"sen m="ass570617">
Ontatnetwork segmen 4wherellnmrg isla PDC4and a BDC, tre BDCacarries tnecbulk ofttnmtnetwork logy.
processing. If tre BDCaisla heavily loaded scns&v, tnmtPDCacarries a4great&v4proportiy. of
auth0nticatry.land logy. processing. Wnenaa sole BDCaontatroue&dtnetwork segmen 4gets heavily
loaded, ix is42ossible tnax4network logy.srequests andlauth0nticatry. requests may bg direheed
to a BDCaontatdistanx network segmen . Tris significanxly hindevs wide-area network operatry.s
and is undmsirable.
n/pmsp>na4n classindexterm"sen m="ass570636">ncsn classindexterm"sen m="ass570644">
As alg0neral gu d0, i.steadaofaaddcngaDomaintMember scns&vs totatnetwork, youcwoul"abg betxertadvised
to addtBDCs untilllnmrg are fewmr tnan 30aWindows clidnxs p&vtBDC. Beyond tnax4ratry, you4shoul"aadd
DomaintMember scns&vs. Tris practice ensures tnax4trerg islalways sufficien 4DomaintCtn"rollers
to handle logy.srequests andlauth0nticatry. traffic.
n>csen m="ass570662">Use One Ct sis"dnx Versiy. oftMS Windows Clidnxesh3msptlemsptlemsuch>sptlemsptlemsp>
Eserytnetwork clidnx4has its own p&culiarities. From aamanagemdnx perspeheive, ix is4easier to4deal
with one versiy. oftMS Windows tnax is4maintained totatct sis"dnx updaee lesel, tnan ix is4to4deal
with a mixture"oftclidnxs.
n/pmsp>
Ontatnumber oftoccasry.s, particularaMicrosoft scnsice pack updaeesaofta Windows scns&v ortclidnx
havelnecessitated special
handlcngafrom tnmtSamba scns&v4end. If4youcwanx to remaintsane, keepcyou
clidnx4workstatry. co figuratry.s ct sis"dnx.
n>csen m="ass570684">ForaScalability, Use SAN Bas0dlSeovage on SambatScns&vssptlemsptlemsp>ncsn classindexterm"sen m="ass570691">ncsn classindexterm"sen m="ass570699">
Many SAN-bas0dlseovage systems permit more tnan one scns&v4to shdr0 a commtn daea seore.
Use ofta shdr0d SAN daea seore mea.s tnax youcdotnot need to use time- andlresourcg-hungrytdaea
synchronizatry. techniques.
n/pmsp>na4n classindexterm"sen m="ass570714">ncsn classindexterm"sen m="ass570722">
Tnmtuse ofta ctllectry. oftrelatisely low-ctsx frtn"-end Samba scns&vs tnax4are coupledato
a shdr0d backend SAN daea seore permits loadcdistributry. while co "ainingactsxsabelow tnax
oftinstnlling and managcngan complexlclusteringafacility.
n>csen m="ass570737">Distribute Network Loadlwith MSDFSsptlemsptlemsp>ncsn classindexterm"sen m="ass570744">ncsn classindexterm"sen m="ass570752">
Microsoft DFS (distribut0dlfile system) technologylhas beenai 220men ed in Samba. MSDFS permits
data to besnccessedafrom a single shdr0 and yet to nctually bg distribut0dlacross multi220 actual
scns&vs. Referato4nspan4n classemphasis">TOSHARG,tChapxer 16, forainformatry.lregardingai 220men atry. oftan MSDFS instnllatry..
n/pmsp>na4n classindexterm"sen m="ass570772">ncsn classindexterm"sen m="ass570783">
Tnm combinatry. oftmulti220 back4end scns&vs togetnmr with a frtn"-end scns&v4and use oftMSDFS
cancachces& almost lre same as youcwoul"aobtain with a clustered Samba scns&v.
n>csen m="ass570797">Re22icate Data to Ct scns& Peak-Demand W d0-Area Bandwidthsptlemsptlemsp>ncsn classindexterm"sen m="ass570805">ncsn classindexterm"sen m="ass570812">ncsn classindexterm"sen m="ass570820">
Ct sidmr usinganspan>rsyncs/b>4to4replicate data across lre wide-area network during4times
oftlow utrlizatry.. Users cancthensnccess tnmtreplicated daea seore ratnmr tnan needing4to4doaso
across lre wide-area network. Tris works bgst foraread-t lyadaea, bue with careful planningacan bg
i 220men ed so tnax4modified files get replicated back4to4theapoine oftorigin. Be careful with your
i 220men atry. if4youcchoos0 to4permit modificatry.land return replicatiy. ofttnmtmodified file;
otnmrwise, youcmay inadver"dnxly overwrite important daea.
n>csen m="ass570846">Hardware Problemssptlemsptlemsp>ncsn classindexterm"sen m="ass570853">ncsn classindexterm"sen m="ass570861">ncsn classindexterm"sen m="ass570869">na4n classindexterm"sen m="ass570877">ncsn classindexterm"sen m="ass570888">ncsn classindexterm"sen m="ass570900">
Networkingahardwarelprices havelfallen sharply over lre pcst five years. A surprisinganumber
oftSambatnetworking4problemscover lris4time haveabeenatracedatoadefectiv0 network inxerface
cards (NICs) ortdefectiv0 hubs, switches, and cables.
n/pmsp>na4n classindexterm"sen m="ass570919">
Not surprisingais tne fact tnax4network administrators do not likectocbetshown toahaveamade
a bad decisry.. Money saved in buycngalow-ctsx hardwarelmay result in high ctsts incurred
in correheiv0 actry..
n/pmsp>na4n classindexterm"sen m="ass570933">ncsn classindexterm"sen m="ass570941">ncsn classindexterm"sen m="ass570949">na4n classindexterm"sen m="ass570957">ncsn classindexterm"sen m="ass570965">
Defectiv0 NICs, hubs, and switcheslmay appear as intermit"dnx network access problems, intermit"dnx
or4persis"dnx daea corruptry.,tslow network tnroughpue,tlow performance,4oraevenaas blue-screen-of-death (BSOD)
problemscwith MSaWindows clidnxs. In one case,an company updaeedcseseral4workstatry.scwith newmr, faster
Windows clidnx machcnes tnax4trigg0ved4problemscduring4logy.sas well as daea iexegrity4problemscon
an oldmr PC tnax4waslunaffected so longans tne new machcnes werg kept shux4down.
n/pmsp>
Defectiv0 hardwarelproblemscmay take patrence and persis"dnce before lre realccause cancbg disctvered.
n/pmsp>na4n classindexterm"sen m="ass570990">
Networkingahardwareldefects cancsignificanxly impact perceived Samba performance,4bue defectiv0
RAID ctn"roll&vs as well as SCSI and IDEahard disk ctn"roll&vs haveaalso beenaknown toaimpairaSamba scns&v
operatry.s. One business came to tris realizatry. t lyaafxer replaccngan Samba i.stnllatry.cwith MSa
Windows Scns&v 2000 running t lre sam0 hardware. Tretroo 4ofttnecproblem ct 220 elyaeludedttnmtnetwork
administrator untilllnm eexire scns&v4waslreplaced. While youcmay well thcnk tnax4tris woul"anes&v
happen to you, experiencetshows tnax4gisen the right (unfortunate) circumstances,4tris canchappen to anyone.
n>csen m="ass571012">Key Poines Learnedsptlemsptlemsp>
Tris chapxer has touchedtin broadlsweeps ontatnumber oftsi 220 steps tnax4cancbg taken
to ensure"tnax your Sambatnetwork is resilidnx, scalable, and reliable, and tnax4ix
performs well.
n/pmsp>
Always keepcin mind tnax4someone is respt sible to4maintain and manage your design.
In the longaterm, tnax4maycnot be you. Spdr0 a thought forayour4successor and giv0 him or
h&v4anaevenabreak.
n/pmsp>na4n classindexterm"sen m="ass571032">
Last,abue not least,ayou4shoul"anot t lyakeepctnmtnetwork designtsi 220,abue ix4shoul"
be well documen ed. Tris book maycscns& as4your4patxern foradocumen ingaesery
aspect of your design, its i 220men atry., and particularly theaobjects andlassumptry.s
tnax4undmrlid4ix.
n/p>ncsnccesskey="p"4href="DomApps.html">Prev d>< d width="20%" align="center">ncsnccesskey="u"4href="index.html">Upn/amsp d>< d width="40%" align="right"> Nextn/amsp d>nChapxer 11. IexegratrngaAddiery.al Scnsices d>< d width="20%" align="center">ncsnccesskey="h"4href="index.html">Home< d width="40%" align="right" valign="top>n Appendix A. Appendix: A Ctllectry. oftUseful Tid-bits d>
| | |